package com.mz.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.generator.config.po.TableFill;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * (OmsGoodsCategory)表实体类
 *
 * @author makejava
 * @since 2023-12-13 13:38:24
 */
@Data
@Accessors(chain = true)
public class OmsGoodsCategory  {

    @TableId( type = IdType.ASSIGN_ID)
    private Long id;
    //分类名称
    private String name;

    private Long parentId;

    private Integer level;

    private Integer sort;

    @TableLogic
    private Integer delFlag;

    private Long createBy;

    @TableField( fill = FieldFill.INSERT_UPDATE)
    private Date createTime;

    private Long updateBy;

    @TableField( fill = FieldFill.UPDATE)
    private Date updateTime;

}

